﻿using B.X.Rabbit.Domain.Autofac;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.X.Rabbit.Domain.RBAC
{
    /// <summary>
    /// 权限信息表
    /// </summary>
    public class Permission:BaseFieId
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        [Key]
        public int PermissionId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string? PermissionName { get; set; }
        /// <summary>
        /// 权限上级编号
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 权限地址
        /// </summary>
        public string? Url { get; set; }
        /// <summary>
        /// 权限描述
        /// </summary>
        public string? Description { get; set; }
        /// <summary>
        /// 路由路径
        /// </summary>
        public string? Path { get; set; }
        /// <summary>
        /// 路由名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 组件名称
        /// </summary>
        public string? Component { get; set; }
    }
}
